<!-- 经营日报余额详细 -->
<div ng-if='tatolDetailList' style="height: 800px;overflow: auto;">
	<div>
		<div class="modal-header">
			<h3 class="modal-title">用户账户余额明细</h3>
		</div>
		<div class="modal-body" style="min-height: 300px">
			<table id="tab" class="table table-striped m-b-none">
				<thead>
					<tr>
						<th style="width:15%">用户ID</th>
						<th style="width:15%">手机号</th>
						<th style="width:15%">账户余额</th>
						<th style="width:15%">新手标持仓金额</th>
						<th style="width:15%">1个月标持仓金额</th>
						<th style="width:15%">3个月标持仓金额</th>
						<th style="width:15%">6个月标持仓金额</th>
						<th style="width:15%">活期持仓金额</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-if="Userbank==''">
						<td colspan="9">当前无银行卡信息</td>
					</tr>
					<tr ng-repeat="obj in tatolDetailList track by $index">
						<td ng-bind="obj.UserID"></td>
						<td ng-bind="obj.Mobile"></td>
						<td ng-bind="obj.UsablePrice||'-'"></td>
						<td ng-bind="obj.MarkNew||'-'"></td>
						<td ng-bind="obj.MarkOne||'-'"></td>
						<td ng-bind="obj.MarkThree||'-'"></td>
						<td ng-bind="obj.MarkSix||'-'"></td>
						<td ng-bind="obj.MarkFree||'-'"></td>
					</tr>
				</tbody>
			</table>
		</div>
		<div style="height: 55px;">
			<div class="modal-footer" style="width: 100%; background-color: #fff;position: absolute;bottom: 0;right: 0;">
				<button class="btn btn-warning" ng-click="cancel()">取消</button>
			</div>
		</div>
	</div>
</div>
<!-- 经营日报充值提现详细 -->
<div ng-if='rechageshow||withdrawshow' style="height: 800px;overflow: auto;">
	<div>
		<div class="modal-header">
			<h3 ng-if='rechageshow' class="modal-title">充值总额明细</h3>
			<h3 ng-if='withdrawshow' class="modal-title">提现总额明细</h3>
		</div>
		<div class="modal-body" style="min-height: 300px">
			<table id="tab" class="table table-striped m-b-none">
				<thead>
					<tr>
						<th style="width:20%">用户ID</th>
						<th style="width:20%">手机号</th>
						<th style="width:20%" ng-if='rechageshow'>充值时间</th>
						<th style="width:20%" ng-if='withdrawshow'>提现时间</th>
						<th style="width:20%">银行</th>
						<th style="width:20%" ng-if='rechageshow'>充值金额</th>
						<th style="width:20%" ng-if='withdrawshow'>提现金额</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-if="Userbank==''">
						<td colspan="9">当前无银行卡信息</td>
					</tr>
					<tr ng-repeat="obj in cashDetailList track by $index">
						<td ng-bind="obj.UserID"></td>
						<td ng-bind="obj.Mobile"></td>
						<td ng-bind="obj.HappenDate|date:'yyyy-MM-dd HH:mm:ss'"></td>
						<td ng-bind="obj.BankName"></td>
						<td ng-bind="obj.Price||'-'"></td>
					</tr>
				</tbody>
			</table>
		</div>
		<div style="height: 55px;">
			<div class="modal-footer" style="width: 100%; background-color: #fff;position: absolute;bottom: 0;right: 0;">
				<button class="btn btn-warning" ng-click="cancel()">取消</button>
			</div>
		</div>
	</div>
</div>
<!-- 添加/编辑版本 -->
<div ng-if="versionItems">
	<div class="modal-body" id="modal-body">
		<div class="modal-header">
			<h3 class="modal-title" ng-if="!istrue">添加版本</h3>
			<h3 class="modal-title" ng-if="istrue">编辑版本</h3>
		</div>
		<div class="modal-body">
			<div class="panel-body">
				<form role="form">
					<div class="col-sm-12">
						<div class="font-bold">基本信息</div>
						<div class="form-group">
							<label>版本号:</label>
							<input type="text" ng-readonly="versionItems.IsPublish" class="form-control forminfo inline" ng-model="versionItems.Code"
							 placeholder="例：20180601（建议以生成版本的日期命名版本号）">
						</div>
						<div class="form-group">
							<label>更新内容:</label>
							<textarea id="vcont" class="form-control" rows="4" cols="22" wrap="hard" placeholder="每行文字 + 标点限制在22个，最多输入4行文字;约定换行的符号<br>    例：1.优化用户体验，提升使用流畅性<br />2.迎中秋庆国庆三重好礼感恩送活动上线<br />*为了您的正常使用，请升级至最新版"
							 ng-model="versionItems.Content"></textarea>
						</div>
						<div class="form-group">
							<label>更新方式:</label>
							<select class="form-control forminfo inline" ng-model="versionItems.IsDialog">
								<option value="false">静默更新</option>
								<option value="true">强制更新</option>
							</select>
						</div>
					</div>
				</form>
			</div>

		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="!istrue" ng-click="addversion()">提交</button>
		<button class="btn btn-primary" ng-if="istrue" ng-click="editversion()">提交</button>
	</div>
</div>
<!-- 每日还款明细详情 -->
<div ng-if='drDetailshow'>
	<div class="modal-header">
		<h3 class="modal-title">还款明细</h3>
	</div>
	<div class="modal-body" style="min-height: 300px">
		<div class="table-responsive">
			<table id="tab" class="table table-striped m-b-none">
				<thead>
					<tr>
						<th style="min-width:60px">序号</th>
						<th style="min-width:90px">还款日期</th>
						<th style="min-width:90px">产品名称</th>
						<th style="min-width:110px">投资人姓名</th>
						<th style="min-width:110px">投资人电话</th>
						<th style="min-width:90px">还款总额</th>
						<th style="min-width:90px">还款本金</th>
						<th style="min-width:90px">还款利息</th>
						<th style="min-width:110px">加息券利息</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-if="drDetailList==''">
						<td colspan="9">当前无还款明细</td>
					</tr>
					<tr ng-repeat="obj in drDetailList">
						<td ng-bind="$index+1"></td>
						<td ng-bind="obj.ReppayDate|date:'yyyy-MM-dd HH:mm:ss'"></td>
						<td ng-bind="obj.ProductName"></td>
						<td ng-bind="obj.FullName"></td>
						<td ng-bind="obj.Mobile"></td>
						<td ng-bind="obj.RepayPrice"></td>
						<td ng-bind="obj.RepayPrincipal"></td>
						<td ng-bind="obj.RepayInterest"></td>
						<td ng-bind="obj.RepayPlusInterest"></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="modal-footer">
		<a class="btn btn-primary" href="{{exporturl}}" ng-click="exportdetail()">导出</a>
		<button class="btn btn-warning" ng-click="cancel()">取消</button>
	</div>
</div>
<!-- 添加排行榜活动 -->
<div ng-if="RankingShow">
	<div class="modal-body" id="modal-body">
		<div class="modal-header">
			<h3 class="modal-title">添加排行榜活动</h3>
			<!-- <h3 class="modal-title" ng-if="istrue">编辑广告</h3> -->
		</div>
		<div class="modal-body">
			<div class="panel-body">
				<form role="form">
					<div class="col-sm-12">
						<div class="form-group">
							<label>活动期数:</label>
							<input type="number" class="form-control forminfo inline" ng-model="rankingData.Serial" placeholder="">
						</div>
						<div ng-controller="DatepickerDemoCtrl">
							<div class="form-group">
								<label>开始日期:</label>
								<p class="input-group">
									<span class="input-group-btn">
										<button type="button" class="btn btn-default" ng-click="open1($event)">
											<i class="glyphicon glyphicon-calendar"></i>
										</button>
									</span>
									<input type="text" class="form-control" datepicker-popup="{{formats[1]}}" ng-click="open1($event)" ng-model="rankingData.StartTime"
									 min-date="minDate" is-open="opened1" datepicker-options="dateOptions" ng-required="true" close-text="Close" placeholder="开始日期必须大于等于当前日期"
									/>
								</p>
							</div>
							<div class="form-group">
								<label>结束日期:</label>
								<p class="input-group">
									<span class="input-group-btn">
										<button type="button" class="btn btn-default" ng-click="open($event)">
											<i class="glyphicon glyphicon-calendar"></i>
										</button>
									</span>
									<input type="text" class="form-control" datepicker-popup="{{formats[1]}}" ng-click="open($event)" ng-model="rankingData.EndTime"
									 is-open="opened" min-date="rankingData.StartTime" datepicker-options="dateOptions" ng-required="true" close-text="Close"
									 placeholder="结束日期必须大于开始日期" />
								</p>
							</div>
						</div>
					</div>
				</form>
			</div>

		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="!istrue" ng-click="add()">提交</button>
		<!-- <button class="btn btn-primary" ng-if="istrue" ng-click="editAds()">提交</button> -->
	</div>
</div>
<!--邀请好友初始值-->
<div ng-if="IviteDefault">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">修改邀请好友初始值</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<div class="form-group">
			<label>初始奖金总额（元）:</label>
			<input type="number" class="form-control forminfo inline" ng-model="modData.Price" name="Price" placeholder="" min="0">
		</div>
		<div class="form-group">
			<label>初始用户总数（人）:</label>
			<input type="number" class="form-control forminfo inline" ng-model="modData.Count" name="Price" placeholder="" min="0" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
			 onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}">
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn diabledBtn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--富民完成退款 -->
<div ng-if="refundshow">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">提示</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<p>
			完成退款后，状态不可更改。确定已经完成退款吗？
		</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--用户操作记录查询交易状态-->
<div ng-if="queryoderstatic">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">交易状态</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<p>
			<span ng-bind='resposeData'></span>
		</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="cancel()">确定</button>
	</div>
</div>
<!--用户操作记录查询加息券状态-->
<div ng-if="queryjxqstatic">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">加息券状态</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<p>
			加息券状态:
			<span ng-bind='jxqstatus'></span>
		</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="cancel()">知道了</button>
	</div>
</div>
<!--安心签修改签署状态-->
<div ng-if="editStatusData">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">修改签署状态</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<p>当前状态为：
			<span class="text-danger">异常</span>
			<p>
				<p>是否修改状态为：
					<span class="text-danger">成功</span>
					<p>
						<div ng-controller="DatepickerDemoCtrl">
							<label>
								<font>
									<font>授权时间:</font>
								</font>
							</label>
							<!-- <input type="text" class="form-control forminfo inline" ng-model="editStatusData.SignTime" name="time" placeholder="例：yyyyMMddHHmmss"> -->
							<p class="input-group">
								<span class="input-group-btn">
									<button type="button" class="btn btn-default" ng-click="open1($event)">
										<i class="glyphicon glyphicon-calendar"></i>
									</button>
								</span>
								<input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open1($event)" ng-model="editStatusData.SignTime"
								 is-open="opened1" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
							</p>
						</div>
						<p>
							<label>
								<font>
									<font>安心签合同编号:</font>
								</font>
							</label>
							<input type="text" class="form-control forminfo inline" ng-model="editStatusData.SignContractCode" name="contractCode" placeholder="">
						</p>
					</p>
				</p>
			</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--安心签重试签署-->
<div ng-if="showRetrySign">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">警告!</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<p class="text-danger">
			调用此方法前，务必确认【未】在安心签签署了合同!
		</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-if="!gray" ng-click="ok()">确定</button>
		<button class="btn btn-light" ng-if="gray" type="button">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--定期活期删除-->
<div ng-if="items || deleteVersion">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">警告!</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul ng-if="!dellimit && !deleteVersion">
			<li>
				确定删除？
			</li>

		</ul>
		<p ng-if="dellimit">
			信息删除后不可恢复，确定要删除该银行卡吗？
		</p>
		<p ng-if="deleteVersion">
			<li>
				确定删除新版本的发布吗？
			</li>
		</p>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--员工删除-->
<div ng-if="deleId">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">警告!</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li>
				确定要删除{{deleId.ProductName}}？
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--虚拟人满标-->
<div ng-if="manbShow || hqmanbShow">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">提示</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<div class="form-group">
			<p ng-if='manbShow'>当前可满标金额为
				<span ng-bind="manbitem.canbuyPrice"></span>元</p>
			<label>请输入满标金额:</label>
			<input type="number" class="form-control forminfo inline" ng-model="manbData.Price" name="Price" ng-keyup="keyup()" placeholder="">
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn diabledBtn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>

<!--手动满标-->
<div ng-if="fullscaleShow">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">满标!</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li>
				请确认是否满标？
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--募资中-->
<div ng-if="raise">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">募资!</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li>
				请确认是否募资？
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--发布-->
<div ng-if="Release || ReleaseVersion">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">发布</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li ng-if="Release">
				请确认是否发布？
			</li>
			<li ng-if="ReleaseVersion">
				确定发布新版本吗？
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--撤标-->
<div ng-if="Retract">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">撤标</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li>
				请确认是否撤标？
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--定期添加产品-->
<div ng-if="addproduct">
	<div class="modal-header">
		<h3 class="modal-title">添加产品</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本信息</div>
					<div class="form-group">
						<label>产品标题:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allData.ProductName" name="ProductName" placeholder="">
					</div>
					<div class="form-group">
						<label>募资金额:</label>
						<input type="number" class="form-control forminfo1 forminfo inline" ng-model="allData.LoanPrice" name="LoanPrice" placeholder="">
					</div>
					<div class="form-group">
						<label>产品分组:</label>
						<select class="form-control forminfo inline" ng-model="allData.ProductGroupId" name="ProductGroupId">
							<option value="18">一月定期产品</option>
							<option value="20">三月定期产品</option>
							<option value="19">六月定期产品</option>
							<option value="1">新手标</option>
							<option value="9">体验金</option>
							<option value="21">活期5天</option>
							<option value="22">活期一月产品</option>
							<option value="23">活期三月产品</option>
							<option value="24">活期六月产品</option>
							<option value="26">活期国债</option>
						</select>
					</div>
					<div class="form-group">
						<label>债权编号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allData.ContractNo" autocomplete="off" name="ContractNo"
						 placeholder="">
					</div>
					<div class="form-group">
						<label class="block">年化利率:</label>
						<input type="number" class="form-control forminfo inline w-sm" ng-keyup="checkRate()" ng-model="allData.AnnualRateOfYear"
						 name="AnnualRateOfYear" placeholder="">% &nbsp;&nbsp;&nbsp;&nbsp;
						<span class="text-danger">{{text}}</span>
					</div>
					<div class="form-group">
						<label>还款方式:</label>
						<select class="form-control forminfo inline" name="RepaymentTypeID" ng-model="allData.RepaymentTypeId" name="RepaymentTypeId">
							<option value="3">先息后本</option>
							<option value="4">到期还本付息</option>
						</select>
					</div>
					<div ng-controller="DatepickerDemoCtrl">
						<div class="form-group">
							<label>投标到期时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="allData.ExpireTime" readonly />
							<!-- <p class="input-group">
								<input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open1($event)" ng-model="allData.ExpireTime"
								 is-open="opened1" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								<span class="input-group-btn">
			    					<button type="button" class="btn btn-default" ng-click="open1($event)"><i class="glyphicon glyphicon-calendar"></i></button>
			    				</span>
							</p> -->
						</div>
						<div class="form-group">
							<label>还款时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="allData.RepayDate" readonly />
							<!-- <p class="input-group">
								<input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="allData.RepayDate"
								 is-open="opened" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								<span class="input-group-btn">
			    					<button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
			    				</span>
							</p> -->
						</div>
					</div>
					<div class="form-group">
						<label>贷款周期:</label>
						<input type="number" class="form-control forminfo1 forminfo inline" ng-model="allData.LoanPeriod" name="LoanPeriod" placeholder="">
					</div>
					<div class="form-group">
						<label>贷款周期类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.LoanPeriodUnitId" name="LoanPeriodUnitId">
							<option value="2">天</option>
							<option value="1">月</option>
						</select>
					</div>
					<!-- <div class="form-group">
						<label> 产品类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.ProductType" name="LoanPeriodUnitId">
	    				<option value="02">车贷类</option>
	    				<option value="01">房贷类</option>
	    			</select>
					</div> -->
					<div class="panel-heading font-bold">借款人信息</div>
					<div class="form-group">
						<label class="block">借款人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-lg" ng-model="mobile.mobile" maxlength="11"
						 name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId()">检索</span>
					</div>
					<div class="form-group">
						<label>ID:</label>
						<input type="text" class="form-control forminfo inline" ng-value="allData.UserId" ng-model="allData.UserId">
					</div>
					<div class="panel-heading font-bold">借款用途:</div>
					<textarea ng-model="allData.BorrPurpose" style="height: 70px;" class="form-control forminfo"></textarea>
					<div class="form-group">
						<label class="block">投资额度:</label>
						<input type="number" class="form-control forminfo1 forminfo w-sm inline" ng-model="allData.MinInvestPrice" name="MinInvestPrice"
						 placeholder="">-
						<input type="number" class="form-control forminfo1 forminfo w-sm inline" ng-model="allData.MaxInvestPrice" name="MaxInvestPrice"
						 placeholder="">
					</div>
					<div class="form-group">
						<label>显示加息:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allData.ShowRate" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label>角标:</label>
						<select class="form-control forminfo inline" ng-model="allData.Subscript" name="Subscript" propertysubid="6">
							<option value="0">无</option>
							<option value="6">活动</option>
						</select>
					</div>
					<div class="form-group">
						<label>业务类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.BidType" name="BidType">
							<option value="01">信用</option>
							<option value="02">抵押</option>
							<option value="03">债权转让</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="form-group">
						<label> 标的类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.ProductType" name="ProductType">
							<option value="01">房贷类</option>
							<option value="02">车贷类</option>
							<option value="03">收益权转让类</option>
							<option value="04">信用贷款类</option>
							<option value="05">股票配资类</option>
							<option value="06">银行承兑汇票</option>
							<option value="07">商业承兑汇票</option>
							<option value="08">消费贷款类</option>
							<option value="09">供应链类</option>
							<option value="99">其他</option>
						</select>
					</div>
				</div>
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本规则</div>
					<div class="panel-heading font-bold">项目详情:</div>
					<div umeditor ng-model="allData.Description" class="form-group" id="container1"></div>
					<div class="panel-heading font-bold">资产展示</div>
					<div umeditor ng-model="allData.LoanBrower" class="form-group" id="container"></div>
					<label>上传图片:</label>
					<input type="file" ng-model="allData.PhotoUrl" class="file" multiple/>
					<label>上传文件:</label>
					<input type="file" ng-model="allData.FileUrl" data-show-upload="false" data-max-file-size="0" class="file" />
				</div>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-sm btn-primary pull-right" ng-if="nocilck" ng-click="addProduct()">提交</button>
		<button class="btn btn-sm btn-light pull-right" ng-if="!nocilck">提交</button>
	</div>
</div>
<!--定期编辑产品-->
<div ng-if="productId">
	<div class="modal-header">
		<h3 class="modal-title">编辑产品</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本信息</div>
					<div class="form-group">
						<label>产品标题:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allData.ProductName" name="ProductName" placeholder="">
					</div>
					<div class="form-group">
						<label>募资金额:</label>
						<input type="number" class="form-control forminfo1 forminfo inline" ng-model="allData.LoanPrice" name="LoanPrice" placeholder="">
					</div>
					<div class="form-group">
						<label>产品分组:</label>
						<select class="form-control forminfo inline" ng-model="allData.ProductGroupId" name="ProductGroupId">
							<option value="18">一月定期产品</option>
							<option value="20">三月定期产品</option>
							<option value="19">六月定期产品</option>
							<option value="1">新手标</option>
							<option value="9">体验金</option>
							<option value="21">活期5天</option>
							<option value="22">活期一月产品</option>
							<option value="23">活期三月产品</option>
							<option value="24">活期六月产品</option>
							<option value="26">活期国债</option>
						</select>
					</div>
					<div class="form-group">
						<label>债权编号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allData.ContractNo" autocomplete="off" name="ContractNo"
						 placeholder="">
					</div>
					<div class="form-group">
						<label class="block">年化利率:</label>
						<input type="number" class="form-control forminfo inline w-sm" ng-keyup="checkRate()" ng-model="allData.AnnualRateOfYear"
						 name="AnnualRateOfYear" placeholder="">% &nbsp;&nbsp;&nbsp;&nbsp;
						<span class="text-danger">{{text}}</span>
					</div>
					<div class="form-group">
						<label>还款方式:</label>
						<select class="form-control forminfo inline" name="RepaymentTypeID" ng-model="allData.RepaymentTypeId" name="RepaymentTypeId">
							<!--<option value="1">等额本息</option>
	    				<option value="2">等额本金</option>-->
							<option value="3">先息后本</option>
							<option value="4">到期还本付息</option>
						</select>
					</div>
					<div ng-controller="DatepickerDemoCtrl">
						<div class="form-group">
							<label>投标到期时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="allData.ExpireTime" readonly />
							<!-- <p class="input-group">
								<input type="text" class="form-control" ng-click="open1($event)" datepicker-popup="{{format}}" ng-model="allData.ExpireTime"
								 is-open="opened1" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								<span class="input-group-btn">
									<button type="button" class="btn btn-default" ng-click="open1($event)"><i class="glyphicon glyphicon-calendar"></i></button>
								</span>
							</p> -->
						</div>
						<div class="form-group">
							<label>还款时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="allData.RepayDate" readonly />
							<!-- <p class="input-group">
								<input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="allData.RepayDate"
								 is-open="opened" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								<span class="input-group-btn">
									<button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
								</span>
							</p> -->
						</div>
					</div>
					<div class="form-group">
						<label>贷款周期:</label>
						<input type="number" class="form-control forminfo1 forminfo inline" ng-model="allData.LoanPeriod" name="LoanPeriod" placeholder="">
					</div>
					<div class="form-group">
						<label>贷款周期类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.LoanPeriodUnitId" name="LoanPeriodUnitId">
							<option value="2">天</option>
							<option value="1">月</option>
						</select>
					</div>
					<div class="panel-heading font-bold">借款人信息</div>
					<div class="form-group">
						<label class="block">借款人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-sm" ng-model="mobile.mobile" maxlength="11"
						 name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId()">检索</span>
					</div>
					<div class="form-group">
						<label>ID:</label>
						<input type="text" class="form-control forminfo inline" ng-value="borrow||allData.UserId" name="UserId" placeholder="">
					</div>
					<div class="panel-heading font-bold">借款用途:</div>
					<textarea ng-model="allData.BorrPurpose" style="height: 70px;" class="form-control forminfo"></textarea>
					<div class="form-group">
						<label class="block">投资额度:</label>
						<input type="number" class="form-control forminfo1 forminfo w-sm inline" ng-model="allData.MinInvestPrice" name="MinInvestPrice"
						 placeholder="">-
						<input type="number" class="form-control forminfo1 forminfo w-sm inline" ng-model="allData.MaxInvestPrice" name="MaxInvestPrice"
						 placeholder="">
					</div>
					<div class="form-group">
						<label>显示加息:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allData.ShowRate" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label>角标:</label>
						<select class="form-control forminfo inline" ng-model="allData.Subscript" name="Subscript" propertysubid="6">
							<option value="0">无</option>
							<option value="6">活动</option>
						</select>
					</div>
					<div class="form-group">
						<label>业务类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.BidType" name="BidType">
							<option value="01">信用</option>
							<option value="02">抵押</option>
							<option value="03">债权转让</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="form-group">
						<label> 标的类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.ProductType" name="ProductType">
							<option value="01">房贷类</option>
							<option value="02">车贷类</option>
							<option value="03">收益权转让类</option>
							<option value="04">信用贷款类</option>
							<option value="05">股票配资类</option>
							<option value="06">银行承兑汇票</option>
							<option value="07">商业承兑汇票</option>
							<option value="08">消费贷款类</option>
							<option value="09">供应链类</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="form-group">
						<div class="img">
							<span ng-if="imgurlad && imgurl" ng-repeat="img in imgurlad track by $index" style="max-width:48%;margin-right:5px;" class="pull-left">
								<img ng-src="{{imgurl}}{{img}}" alt="" style="max-width:100%;margin-top:5px;">
							</span>
							<span ng-if="!imgurlad && allDatalist" ng-repeat="img in allDatalist" style="max-width:48%;margin-right:5px;" class="pull-left">
								<img ng-src="{{imgurl}}{{img.Url}}" ng-if="img.Type==1" alt="" style="max-width:100%;margin-top:5px;">
							</span>
						</div>
						<div class="zip">
							<div ng-if="FileUrl" style="max-width:48%;margin-right:5px;margin-top:5px;" class="pull-left">
								<!-- <a ng-href="http://192.168.0.109:9004/api/file/getfile?id=fd4e108ebfba4e37abc4f5ea6d63a920.zip"> -->
								<img src="img/zip.png" alt="" style="max-width:60%;">
								<p ng-bind="FileUrl"></p>
								<!-- </a> -->
							</div>
							<div ng-repeat="url in allDatalist" ng-mousedown="rightClick($event,url.Url)" ng-if="!FileUrl && allDatalist && url.Type==5"
							 style="max-width:48%;margin-right:5px; margin-top:5px;" class="pull-left">
								<img src="img/zip.png" alt="" style="width:60%;">
								<p ng-bind="url.Url"></p>
							</div>
						</div>
					</div>
				</div>
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本规则</div>

					<div class="panel-heading font-bold">项目详情:</div>
					<div umeditor ng-model="allData.Description" class="form-group" id="container1"></div>
					<div class="form-group"></div>
					<div class="panel-heading font-bold">资产展示</div>
					<div umeditor ng-model="allData.LoanBrower" class="form-group" id="container"></div>
					<div class="form-group"></div>
					<label>上传图片:</label>
					<input type="file" ng-model="allData.PhotoUrl" class="file" multiple/>
					<label>上传文件:</label>
					<input type="file" ng-model="allData.FileUrl" data-show-upload="false" data-max-file-size="0" class="file" />
				</div>

			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary " ng-click="editProduct()">提交</button>
	</div>
</div>
<!--定期合同管理-->
<div ng-if="contract">
	<div class="modal-header">
		<h3 class="modal-title">合同管理</h3>
	</div>
	<div class="modal-body">
		<div class="panel-heading font-bold">基本信息</div>
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">
					<div class="form-group">
						<label>产品编号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.ProductCode" name="ProductName" readonly>
					</div>
					<div class="form-group">
						<label class="block">资金用途:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.Purpose" name="AnnualRateOfYear" placeholder="">
					</div>

					<div class="form-group">
						<label>甲方姓名:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.PartyAName" placeholder="">
					</div>
					<div class="form-group">
						<label>丙方姓名:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.PartyCName" placeholder="">
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group">
						<label class="block">合同编号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.ContractCode" name="" placeholder="">
					</div>
					<div class="form-group">
						<label>甲方身份证号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.PartyAIdCard" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label>丁方名称:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.PartyDName" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label class="block">借款人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-lg" ng-model="mobile.mobile" maxlength="11"
						 name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId()">检索</span>
					</div>
				</div>

			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-sm btn-primary pull-right" ng-if="!GetProductContractByCode.Id" ng-click="addborrow()">提交</button>
		<button class="btn btn-sm btn-primary pull-right" ng-if="GetProductContractByCode.Id" ng-click="addga()">提交</button>
	</div>
</div>
<!--定期添加借款人-->
<div ng-if="goAdd">
	<div class="modal-header">
		<h3 class="modal-title">修改借款人</h3>
	</div>
	<div class="modal-body">
		<div class="panel-heading font-bold">基本信息</div>
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">

					<div class="form-group">
						<label>手机号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.Mobile" autocomplete="off" name="ProductName">
					</div>
					<div class="form-group">
						<label>姓名:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.UserName" autocomplete="off" placeholder="">
					</div>
					<input type="file" ng-model="allinp.CardUrl" id="file" data-show-upload="false" class="file" />
				</div>
				<div class="col-sm-6">
					<div class="form-group">
						<label class="block">身份证号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.IdCard" name="" autocomplete="off" placeholder="">
					</div>
					<div class="form-group">
						<label>年龄:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allinp.Age" name="ShowRate" autocomplete="off" placeholder="">
					</div>
					<div class="form-group">
						<label>性别:</label>
						<div class="radio">
							<label class="i-checks">
								<input type="radio" name="a" ng-model="allinp.Sex" value="true" ng-checked="man">
								<i></i>
								男
							</label>
						</div>
						<div class="radio">
							<label class="i-checks">
								<input type="radio" name="a" ng-model="allinp.Sex" value="false" ng-checked="wmen">
								<i></i>
								女
							</label>

						</div>
					</div>
					<div class="img">
						<span ng-if="!imgurlad" style="max-width:48%;margin-right:5px;" class="pull-left">
							<img ng-src="{{imgurl}}{{GetLoanInfoByProductID.CardUrl}}" alt="" style="max-width:100%;">
						</span>
						<span ng-if="imgurlad" style="max-width:48%;margin-right:5px;" class="pull-left">
							<img ng-src="{{imgurl}}{{imgurlad}}" alt="" style="max-width:100%;">
						</span>
					</div>

				</div>

			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-sm btn-primary pull-right" ng-if="!GetLoanInfoByProductID.Id" ng-click="addborrow()">提交</button>
		<button class="btn btn-sm btn-primary pull-right" ng-if="GetLoanInfoByProductID.Id" ng-click="addga()">提交</button>
	</div>
</div>
<!--活期编辑-->
<div ng-if="productIdhuo">
	<div class="modal-header">
		<h3 class="modal-title">编辑产品</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本信息</div>
					<div class="form-group">
						<label>产品标题:</label>
						<input type="text" class="form-control forminfo inline" ng-model="alleditData.ProductName" name="ProductName" placeholder="">
					</div>
					<div class="form-group">
						<label>募资金额:</label>
						<input type="number" class="form-control forminfo inline" ng-model="alleditData.LoanPrice" name="LoanPrice" placeholder="">
					</div>
					<div class="form-group">
						<label>债权编号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="alleditData.ContractNo" autocomplete="off" name="ContractNo"
						 placeholder="">
					</div>
					<div class="form-group">
						<label class="block">年化利率:</label>
						<input type="text" class="form-control forminfo inline w-sm" ng-keyup="checkRate()" ng-model="alleditData.AnnualRateOfYear"
						 name="AnnualRateOfYear" placeholder="">%&nbsp;&nbsp;&nbsp;&nbsp;
						<span class="text-danger">{{text}}</span>
					</div>
					<div ng-controller="DatepickerDemoCtrl">
						<div class="form-group">
							<label>投标到期时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="alleditData.ExpireTime" readonly />

						</div>
						<div class="form-group">
							<label>还款时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="alleditData.RepayDate" readonly />

						</div>
					</div>

					<div class="form-group">
						<label>贷款周期:</label>
						<input type="number" class="form-control forminfo inline" ng-model="alleditData.LoanPeriod" name="LoanPeriod" placeholder="">
					</div>
					<div class="form-group">
						<label>贷款周期类型:</label>
						<select class="form-control forminfo inline" ng-model="alleditData.LoanPeriodUnitId" name="LoanPeriodUnitId">
							<option value="0">天</option>
							<option value="1">月</option>
						</select>
					</div>
					<div class="panel-heading font-bold">借款人信息</div>
					<div class="form-group">
						<label class="block">借款人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-sm" ng-model="mobile.mobile" maxlength="11"
						 name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId()">检索</span>
					</div>
					<div class="form-group">
						<label>ID:</label>
						<input type="text" class="form-control forminfo inline" ng-value="borrow||alleditData.UserId" name="UserId" placeholder="">
					</div>
					<div class="panel-heading font-bold">借款用途:</div>
					<textarea ng-model="alleditData.BorrPurpose" style="height: 70px;" class="form-control forminfo"></textarea>
				</div>
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本规则</div>
					<div class="form-group">
						<label class="block">投资额度:</label>
						<input type="number" class="form-control forminfo w-sm inline" ng-model="alleditData.MinInvestPrice" name="MinInvestPrice"
						 placeholder="">-
						<input type="number" class="form-control forminfo w-sm inline" ng-model="alleditData.MaxInvestPrice" name="MaxInvestPrice"
						 placeholder="">
					</div>
					<div class="form-group">
						<label>显示加息:</label>
						<input type="text" class="form-control forminfo inline" ng-model="alleditData.ShowRate" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label>角标:</label>
						<select class="form-control forminfo inline" ng-model="alleditData.Subscript" name="Subscript" propertysubid="6">
							<option value="0">无</option>
							<option value="6">活动</option>
						</select>
					</div>
					<div class="form-group">
						<label>业务类型:</label>
						<select class="form-control forminfo inline" ng-model="alleditData.BidType" name="BidType">
							<option value="01">信用</option>
							<option value="02">抵押</option>
							<option value="03" selected="selected">债权转让</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="form-group">
						<label> 标的类型:</label>
						<select class="form-control forminfo inline" ng-model="alleditData.ProductType" name="ProductType">
							<option value="01">房贷类</option>
							<option value="02">车贷类</option>
							<option value="03">收益权转让类</option>
							<option value="04">信用贷款类</option>
							<option value="05">股票配资类</option>
							<option value="06">银行承兑汇票</option>
							<option value="07">商业承兑汇票</option>
							<option value="08">消费贷款类</option>
							<option value="09">供应链类</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="panel-heading font-bold">项目详情</div>
					<div umeditor ng-model="alleditData.Description" class="form-group" id="container1"></div>
					<div class="form-group"></div>
					<div class="panel-heading font-bold">资产展示</div>
					<div umeditor ng-model="alleditData.LoanBrower" class="form-group" id="container"></div>
					<div class="form-group"></div>
				</div>
				<button class="btn btn-sm btn-primary pull-right" ng-click="editProducthuo()">提交</button>
			</form>
		</div>

	</div>
</div>
<!--活期添加-->
<div ng-if="addProducthuo">
	<div class="modal-header">
		<h3 class="modal-title">添加产品</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本信息</div>
					<div class="form-group">
						<label>产品标题:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allcurrentData.ProductName" name="ProductName" placeholder="">
					</div>
					<div class="form-group">
						<label>募资金额:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allcurrentData.LoanPrice" name="LoanPrice" placeholder="">
					</div>
					<div class="form-group">
						<label>债权编号:</label>
						<input type="text" class="form-control forminfo inline" autocomplete="off" ng-model="allcurrentData.ContractNo" name="ContractNo"
						 placeholder="">
					</div>
					<div class="form-group">
						<label class="block">年化利率:</label>
						<input type="number" class="form-control forminfo inline w-sm" ng-keyup="checkRate()" ng-model="allcurrentData.AnnualRateOfYear"
						 name="AnnualRateOfYear" placeholder="">%&nbsp;&nbsp;&nbsp;&nbsp;
						<span class="text-danger">{{text}}</span>
					</div>
					<div ng-controller="DatepickerDemoCtrl">
						<div class="form-group">
							<label>投标到期时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="allcurrentData.ExpireTime" readonly />
							<!-- <p class="input-group">
								<input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open1($event)" ng-model="allcurrentData.ExpireTime"
								 is-open="opened1" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								<span class="input-group-btn">
			    					<button type="button" class="btn btn-default" ng-click="open1($event)"><i class="glyphicon glyphicon-calendar"></i></button>
			    				</span>
							</p> -->
						</div>
						<div class="form-group">
							<label>还款时间:</label>
							<input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="allcurrentData.RepayDate" readonly />
							<!-- <p class="input-group">
								<input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="allcurrentData.RepayDate"
								 is-open="opened" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								<span class="input-group-btn">
			    					<button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
			    				</span>
							</p> -->

						</div>
					</div>

					<div class="form-group">
						<label>贷款周期:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allcurrentData.LoanPeriod" name="LoanPeriod" placeholder="">
					</div>
					<div class="form-group">
						<label>贷款周期类型:</label>
						<select class="form-control forminfo inline" ng-model="allcurrentData.LoanPeriodUnitId" name="LoanPeriodUnitId">
							<option value="0">天</option>
							<option value="1">月</option>
						</select>
					</div>
					<!-- <div class="form-group">
						<label> 产品类型:</label>
						<select class="form-control forminfo inline" ng-model="allcurrentData.ProductType" name="LoanPeriodUnitId">
	    				<option value="02">车贷类</option>
	    				<option value="01">房贷类</option>
	    			</select>
					</div> -->
					<div class="panel-heading font-bold">借款人信息</div>
					<div class="form-group">
						<label class="block">借款人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-sm" ng-model="mobile.mobile" maxlength="11"
						 name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId()">检索</span>
					</div>
					<div class="form-group">
						<input type="text" class="form-control forminfo inline" ng-value="allcurrentData.UserId" ng-model="allcurrentData.UserId">
					</div>
					<div class="panel-heading font-bold">借款用途:</div>
					<textarea ng-model="allcurrentData.BorrPurpose" style="height: 70px;" class="form-control forminfo"></textarea>
				</div>
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本规则</div>
					<div class="form-group">
						<label class="block">投资额度:</label>
						<input type="number" class="form-control forminfo w-sm inline" ng-model="allcurrentData.MinInvestPrice" name="MinInvestPrice"
						 placeholder="">-
						<input type="number" class="form-control forminfo w-sm inline" ng-model="allcurrentData.MaxInvestPrice" name="MaxInvestPrice"
						 placeholder="">
					</div>
					<div class="form-group">
						<label>显示加息:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allcurrentData.ShowRate" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label>角标:</label>
						<select class="form-control forminfo inline" ng-model="allcurrentData.Subscript" name="Subscript" propertysubid="6">
							<option value="0">无</option>
							<option value="6">活动</option>
						</select>
					</div>
					<div class="form-group">
						<label>业务类型:</label>
						<select class="form-control forminfo inline" ng-model="allcurrentData.BidType" name="BidType">
							<option value="01">信用</option>
							<option value="02">抵押</option>
							<option value="03" selected="selected">债权转让</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="form-group">
						<label> 标的类型:</label>
						<select class="form-control forminfo inline" ng-model="allcurrentData.ProductType" name="ProductType">
							<option value="01">房贷类</option>
							<option value="02">车贷类</option>
							<option value="03">收益权转让类</option>
							<option value="04">信用贷款类</option>
							<option value="05">股票配资类</option>
							<option value="06">银行承兑汇票</option>
							<option value="07">商业承兑汇票</option>
							<option value="08">消费贷款类</option>
							<option value="09">供应链类</option>
							<option value="99">其他</option>
						</select>
					</div>
					<div class="panel-heading font-bold">项目详情</div>
					<div umeditor ng-model="allcurrentData.Description" class="form-group" id="container1"></div>
					<div class="form-group"></div>
					<div class="panel-heading font-bold">资产展示</div>
					<div umeditor ng-model="allcurrentData.LoanBrower" class="form-group" id="container"></div>
					<div class="form-group"></div>
				</div>

			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-sm btn-primary pull-right" ng-if="noclick" ng-click="addProducthuo()">提交</button>
		<button class="btn btn-sm btn-light pull-right" ng-if="!noclick">提交</button>
	</div>
</div>
<!-- 添加虚拟人-->
<div ng-if="addvirtualshow">
	<div>
		<div class="modal-header">
			<h3 class="modal-title">添加虚拟人</h3>
		</div>
		<div class="modal-body">
			<div class="form-group pull-in clearfix">
				<div class="col-sm-12">
					<label>
						<font>
							<font>内容:</font>
						</font>
					</label>
					<div class="form-group">
						<textarea name="" class="form-control forminfo inline m-r" ng-model="newvirtualData.mobile" id="" cols="30" placeholder="请输入虚拟人手机号"
						 onKeyup="this.value=this.value.replace(/[^\d\n]/g,'')" onafterpaste="this.value=this.value.replace(/[^\d\n]/g,'') "
						 rows="10"></textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
			<button class="btn btn-primary" ng-click="ok()">提交</button>
		</div>
	</div>
</div>
<!-- 编辑虚拟人-->
<div ng-if="editvirtualshow">
	<div>
		<div class="modal-header">
			<h3 class="modal-title">编辑虚拟人</h3>
		</div>
		<div class="modal-body">
			<div class="form-group">
				<label class="block">终端类型:</label>
				<select class="form-control forminfo inline" ng-model="newvirtualData.TerminalTypeId" name="TerminalTypeId" propertysubid="6">
					<option value="0">微站</option>
					<option value="1">android</option>
					<option value="2">ios</option>
				</select>
			</div>
		</div>
		<div class="modal-footer">
			<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
			<button class="btn btn-primary" ng-click="ok()">提交</button>
		</div>
	</div>
</div>
<!-- 添加/编辑广告 -->
<div ng-if="Aditems">
	<div class="modal-body" id="modal-body">
		<div class="modal-header">
			<h3 class="modal-title" ng-if="!istrue">添加广告</h3>
			<h3 class="modal-title" ng-if="istrue">编辑广告</h3>
		</div>
		<div class="modal-body">
			<div class="panel-body">
				<form role="form">
					<div class="col-sm-6">
						<div class="font-bold">基本信息</div>
						<div class="form-group">
							<label>广告标题:</label>
							<input type="text" class="form-control forminfo inline" ng-model="Aditems.AdTitle" placeholder="">
						</div>
						<div class="form-group">
							<label>广告排序:</label>
							<input type="number" class="form-control forminfo inline" ng-model="Aditems.AdSort" placeholder="">
						</div>
						<div class="form-group">
							<label>广告类别:</label>
							<select class="form-control forminfo inline" ng-model="Aditems.AdTypeId">
								<option value="1">首页banner</option>
								<option value="2">APP弹框广告</option>
								<option value="3">APP更多页面Banner</option>
								<option value="4">APP我的页面</option>
								<option value="5">热门活动</option>
							</select>
						</div>
						<div class="form-group">
							<label>广告链接:</label>
							<input type="text" class="form-control forminfo inline" ng-model="Aditems.AdUrl" placeholder="">
						</div>
						<div ng-controller="DatepickerDemoCtrl">
							<div class="form-group">
								<label>开始时间:</label>
								<p class="input-group">
									<span class="input-group-btn">
										<button type="button" class="btn btn-default" ng-click="open1($event)">
											<i class="glyphicon glyphicon-calendar"></i>
										</button>
									</span>
									<input type="text" class="form-control" datepicker-popup="{{formats[1]}}" ng-click="open1($event)" ng-model="Aditems.StartTime"
									 is-open="opened1" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								</p>
							</div>
							<!-- <div ng-controller="TimepickerDemoCtrl" class="m-b-lg">
						        <timepicker ng-model="mytime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
						    </div> -->
							<div class="form-group">
								<label>结束时间:</label>
								<p class="input-group">
									<span class="input-group-btn">
										<button type="button" class="btn btn-default" ng-click="open($event)">
											<i class="glyphicon glyphicon-calendar"></i>
										</button>
									</span>
									<input type="text" class="form-control" datepicker-popup="{{formats[1]}}" ng-click="open($event)" ng-model="Aditems.EndTime"
									 is-open="opened" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Close" />
								</p>
							</div>
						</div>
					</div>

					<div class="col-sm-6">
						<div class="form-group">
							<label>图片:</label>
							<input type="file" ng-model="Aditems.AdImage" class="file" />
						</div>
						<div>
							<span ng-if="!imgurlad" style="max-width:100%;" class="pull-left">
								<img ng-src="{{imgurl}}{{adimg}}" alt="" style="max-width:100%;">
							</span>
							<span ng-if="imgurlad" style="max-width:100%;" class="pull-left">
								<img ng-src="{{imgurl}}{{imgurlad}}" alt="" style="max-width:100%;">
							</span>
						</div>
					</div>
				</form>
			</div>

		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="!istrue" ng-click="addAds()">提交</button>
		<button class="btn btn-primary" ng-if="istrue" ng-click="editAds()">提交</button>
	</div>
</div>
<!-- 银行卡限额 -->
<div ng-if="Adbanklimit">
	<div class="modal-body" id="modal-body">
		<div class="modal-header">
			<h3 ng-if="adbank" class="modal-title">添加银行卡信息</h3>
			<h3 ng-if="eidtbank" class="modal-title">修改银行卡信息</h3>
		</div>
		<div class="modal-body">
			<div class="panel-body">
				<form role="form">
					<div class="col-sm-12">
						<div class="form-group">
							<label>银行名称:</label>
							<input type="text" class="form-control forminfo inline" ng-model="limit.BankName" placeholder="">
						</div>
						<div class="form-group">
							<label>银行编码:</label>
							<input type="text" class="form-control forminfo inline" ng-model="limit.BankCode" placeholder="">（例：boc）
						</div>
						<div class="form-group">
							<label>单笔限额:</label>
							<input type="number" class="forminfo inline" ng-model="banklimit.SinglePrice" placeholder="">
							<div class="radio inline  m-r m-l">
								<label class="i-checks">
									<input type="radio" name="a" value="10000" ng-model="perice.SinglePrice" ng-checked="checkSinglePrice">
									<i></i>
									万元
								</label>
							</div>
							<div class="radio inline">
								<label class="i-checks">
									<input type="radio" name="a" ng-model="perice.SinglePrice" value="1000" ng-checked="checkSinglePriceq">
									<i></i>
									千元
								</label>
							</div>
						</div>
						<div class="form-group">
							<label>每日限额:</label>
							<input type="number" class="forminfo inline" ng-model="banklimit.DayPrice" placeholder="">
							<div class="radio inline m-r m-l">
								<label class="i-checks">
									<input type="radio" name="b" value="10000" ng-model="perice.DayPrice">
									<i></i>
									万元
								</label>
							</div>
							<div class="radio inline">
								<label class="i-checks">
									<input type="radio" name="b" value="1000" ng-model="perice.DayPrice">
									<i></i>
									千元
								</label>
							</div>
						</div>
						<div class="form-group">
							<label>每月限额:</label>
							<input type="number" class="forminfo inline" ng-model="banklimit.MonthPrice" placeholder="">
							<div class="radio inline  m-r m-l">
								<label class="i-checks">
									<input type="radio" name="c" value="10000" ng-model="perice.MonthPrice">
									<i></i>
									万元
								</label>
							</div>
							<div class="radio inline">
								<label class="i-checks">
									<input type="radio" name="c" value="1000" ng-model="perice.MonthPrice">
									<i></i>
									千元
								</label>
							</div>
						</div>
						<div class="form-group">
							<label>银行卡logo:</label>
							<input type="file" ng-model="limit.BankIcon" class="file" />
						</div>
						<div>
							<span ng-if="imgurlad" style="max-width:100%;" class="pull-left">
								<img ng-src="{{imgurl}}{{imgurlad}}" alt="" style="max-width:100%;">
							</span>
						</div>
					</div>
				</form>
			</div>

		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="adbank" ng-click="addbanklimit()">提交</button>
		<button class="btn btn-primary" ng-if="eidtbank" ng-click="editbanklimit()">提交</button>
	</div>
</div>

<!-- 添加公告 -->
<div ng-if="addNotice">
	<div class="modal-header">
		<h3 class="modal-title">添加公告</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="font-bold">基本信息</div>
				<div class="form-group">
					<label>标题:</label>
					<input type="text" class="form-control forminfo inline" ng-model="addNotice.Title" placeholder="">
				</div>
				<div class="form-group">
					<label>客服信息:</label>
					<input type="text" class="form-control forminfo inline" ng-model="addNotice.UserName" placeholder="">
				</div>
				<div class="form-group">
					<label>内容:</label>
					<div umeditor ng-model="addNotice.Content" class="form-group"></div>
				</div>
				<div class="form-group">
					<label>是否置顶:</label>
					<select class="form-control forminfo inline" ng-model="addNotice.IsTop">
						<option value="true">是</option>
						<option value="false">否</option>
					</select>
				</div>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" type="button" ng-click="addNotices()">提交</button>
	</div>
</div>

<!-- 编辑公告 -->
<div ng-if="editNotice">
	<div class="modal-header">
		<h3 class="modal-title">编辑公告</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="font-bold">基本信息</div>
				<div class="form-group">
					<label>标题:</label>
					<input type="text" class="form-control forminfo inline" ng-model="editNotice.Title" placeholder="">
				</div>
				<div class="form-group">
					<label>客服信息:</label>
					<input type="text" class="form-control forminfo inline" ng-model="editNotice.UserName" placeholder="">
				</div>
				<div class="form-group">
					<label>内容:</label>
					<div umeditor ng-model="editNotice.Content" class="form-group"></div>
				</div>
				<div class="form-group">
					<label>是否置顶:</label>
					<select class="form-control forminfo inline" ng-model="editNotice.IsTop">
						<option value="true">是</option>
						<option value="false">否</option>
					</select>
				</div>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" type="button" ng-click="editNotices()">提交</button>
	</div>
</div>

<!-- 添加/编辑菜单 -->
<div ng-if="addMenushow || editMenushow">
	<div class="modal-body" id="modal-body">
		<div class="modal-header">
			<h3 class="modal-title" ng-if="!istrue">添加菜单</h3>
			<h3 class="modal-title" ng-if="istrue">编辑菜单</h3>
		</div>
		<div class="modal-body">
			<div class="panel-body">
				<form role="form">
					<div class="col-sm-12">
						<div class="font-bold">基本信息</div>
						<div class="form-group">
							<label>菜单名:</label>
							<input type="text" class="form-control forminfo inline" ng-model="Menuitems.Name" placeholder="">
						</div>
						<div class="form-group">
							<label>菜单URL:</label>
							<input type="text" class="form-control forminfo inline" ng-model="Menuitems.Url" placeholder="">
						</div>
					</div>
				</form>
			</div>

		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="!istrue" ng-click="addMenus()">提交</button>
		<button class="btn btn-primary" ng-if="istrue" ng-click="editMenus()">提交</button>
	</div>
</div>

<!-- 添加设置 -->
<div ng-if="addSetitems">
	<div>
		<div class="modal-header">
			<h3 class="modal-title">添加配置</h3>
		</div>
		<div class="modal-body">
			<div class="form-group pull-in clearfix">
				<div class="col-sm-12 form-group">
					<label>
						<font>
							<font>描述:</font>
						</font>
					</label>
					<input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" name="" ng-model="addSetitems.ConfigDesc"
					 required="">
				</div>
				<div ng-controller="DatepickerDemoCtrl">
					<div class="col-sm-12 form-group">
						<label>
							<font>
								<font>起始时间:</font>
							</font>
						</label>
						<p class="input-group">
							<input type="text" class="form-control" ng-click="open1($event)" datepicker-popup="{{format}}" ng-model="addSetitems.StartTime"
							 is-open="opened1" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Done" />
							<span class="input-group-btn">
								<button type="button" class="btn btn-default" ng-click="open1($event)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</p>

					</div>
					<div class="col-sm-12 form-group">
						<label>
							<font>
								<font>结束时间:</font>
							</font>
						</label>
						<p class="input-group">
							<input type="text" class="form-control" ng-click="open($event)" datepicker-popup="{{format}}" ng-model="addSetitems.EndTime"
							 is-open="opened" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Done" />
							<span class="input-group-btn">
								<button type="button" class="btn btn-default" ng-click="open($event)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</p>
					</div>
				</div>
				<div class="col-sm-12 form-group">
					<label>
						<font>
							<font>key:</font>
						</font>
					</label>
					<input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" name="" ng-model="addSetitems.ConfigKey"
					 required="">
				</div>
				<div class="col-sm-12">
					<label>
						<font>
							<font>内容:</font>
						</font>
					</label>
					<div class="form-group">
						<textarea class="form-control forminfo inline" rows="6" ng-model="addSetitems.ConfigValue" name="Description" placeholder=""></textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
			<button class="btn btn-primary" ng-if="noclick" ng-click="ok()">提交</button>
			<button class="btn btn-light" ng-if="!noclick">提交</button>
		</div>
	</div>
</div>

<!-- 修改设置 -->
<div ng-if="editSetitems">
	<div>
		<div class="modal-header">
			<h3 class="modal-title">配置</h3>
		</div>
		<div class="modal-body">
			<div class="form-group pull-in clearfix">
				<div class="col-sm-12 form-group">
					<label>
						<font>
							<font>描述:</font>
						</font>
					</label>
					<input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" name="" ng-model="editSetitems.ConfigDesc"
					 required="">
				</div>
				<div ng-controller="DatepickerDemoCtrl">
					<div class="col-sm-12 form-group">
						<label>
							<font>
								<font>起始时间:</font>
							</font>
						</label>
						<p class="input-group">
							<input type="text" class="form-control" ng-click="open1($event)" datepicker-popup="{{format}}" ng-model="editSetitems.StartTime"
							 is-open="opened1" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Done" />
							<span class="input-group-btn">
								<button type="button" class="btn btn-default" ng-click="open1($event)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</p>

					</div>
					<div class="col-sm-12 form-group">
						<label>
							<font>
								<font>结束时间:</font>
							</font>
						</label>
						<p class="input-group">
							<input type="text" class="form-control" ng-click="open($event)" datepicker-popup="{{format}}" ng-model="editSetitems.EndTime"
							 is-open="opened" min-date="minDate" datepicker-options="dateOptions" ng-required="true" close-text="Done" />
							<span class="input-group-btn">
								<button type="button" class="btn btn-default" ng-click="open($event)">
									<i class="glyphicon glyphicon-calendar"></i>
								</button>
							</span>
						</p>
					</div>
				</div>
				<div class="col-sm-12 form-group">
					<label>
						<font>
							<font>key:</font>
						</font>
					</label>
					<input type="text" class="form-control ng-pristine ng-untouched ng-invalid ng-invalid-required" name="" ng-model="editSetitems.ConfigKey"
					 required="">
				</div>
				<div class="col-sm-12">
					<label>
						<font>
							<font>内容:</font>
						</font>
					</label>
					<div class="form-group">
						<textarea class="form-control forminfo inline" rows="6" ng-model="editSetitems.ConfigValue" name="Description" placeholder=""></textarea>
					</div>
				</div>
			</div>
		</div>
		<div class="modal-footer">
			<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
			<button class="btn btn-primary" ng-click="ok()">提交</button>
		</div>
	</div>
</div>

<!-- 银行卡 -->
<div ng-if='Userbankshow'>
	<div class="modal-header">
		<h3 class="modal-title">银行卡</h3>
	</div>
	<div class="modal-body" style="min-height: 300px">
		<table id="tab" class="table table-striped m-b-none">
			<thead>
				<tr>
					<th style="width:20%">ID</th>
					<th style="width:25%">银行名称</th>
					<th style="width:30%">卡号</th>
					<th style="width:25%">创建时间</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-if="Userbank==''">
					<td colspan="9">当前无银行卡信息</td>
				</tr>
				<tr ng-repeat="obj in Userbank">
					<td ng-bind="obj.Id"></td>
					<td ng-bind="obj.BankName"></td>
					<td ng-bind="obj.CardNo"></td>
					<td ng-bind="obj.CreateTime|date:'yyyy-MM-dd HH:mm:ss'"></td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" ng-click="cancel()">取消</button>
	</div>
</div>
<!-- 财务还款管理还款明细-->
<div ng-if='repaymentinfoshow'>
	<div class="modal-header">
		<h3 class="modal-title">还款明细</h3>
	</div>
	<div class="modal-body" style="min-height: 300px">
		<table id="tab" class="table table-striped m-b-none">
			<thead>
				<tr>
					<th style="min-width: 60px">序号</th>
					<th style="min-width: 100px">还款日期</th>
					<th style="min-width: 100px">产品名称</th>
					<th style="min-width: 100px">应还本金</th>
					<th style="min-width: 100px">应还利息</th>
					<th style="min-width: 110px">加息券利息</th>
					<th style="min-width: 100px">还款状态</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-if="repaymentInfo==''">
					<td colspan="9">当前无还款明细</td>
				</tr>
				<tr ng-repeat="obj in repaymentInfo">
					<td ng-bind="$index+1"></td>
					<td ng-bind="obj.RepayDate | date:'yyyy-MM-dd HH:mm:ss'"></td>
					<td ng-bind="obj.ProductName"></td>
					<td ng-bind="obj.RepayPrincipal"></td>
					<td ng-bind="obj.RepayInterest"></td>
					<td ng-bind="obj.RepayPlusInterest"></td>
					<td ng-bind="obj.RepaymentItemStatusId==1?'未还款':'已还款'"></td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="modal-footer">
		<a href="{{gourl}}" target="_blank" ng-click="exportdetail()" class="btn btn-success" ng-if="repaymentInfo.length>0">导出</a>
		<button class="btn btn-warning" ng-click="cancel()">取消</button>
	</div>
</div>
<!--添加用户员工管理-->
<div ng-if="addmsg">
	<div class="modal-header">
		<h3 class="modal-title">添加用户</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="font-bold">基本信息</div>
				<div class="form-group">
					<label>姓名:</label>
					<input type="text" class="form-control forminfo inline" ng-model="addmsg.FullName" placeholder="">
				</div>
				<div class="form-group">
					<label>用户名:</label>
					<input type="text" class="form-control forminfo inline" ng-model="addmsg.UserName" placeholder="">
				</div>
				<div class="form-group">
					<label>密码:</label>
					<input type="text" class="form-control forminfo inline" ng-model="addmsg.Password" placeholder="">
				</div>

			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="isadd" type="button" ng-click="addpeople()">提交</button>
		<button class="btn btn-light" ng-if="!isadd" type="button">提交</button>
	</div>
</div>

<!--员工设置菜单-->
<div ng-if="setMenushow">
	<div class="modal-header">
		<h3 class="modal-title">设置菜单</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<label class="checkbox i-checks m-l-md m-b-md" ng-repeat="menu in AllMenuList">
					<input type="checkbox" ng-model="oneAtATime" name="menucheckout" ng-value="menu.Id">
					<i></i>
					{{menu.Name}}
				</label>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" type="button" ng-click="ok()">提交</button>
	</div>
</div>

<!--添加渠道管理-->
<div ng-if="channelshow">
	<div class="modal-header">
		<h3 class="modal-title">添加渠道</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="font-bold">基本信息</div>
				<div class="form-group">
					<label>渠道名称:</label>
					<input type="text" class="form-control forminfo inline" ng-model="channelitems.Name" placeholder="">
				</div>
				<div class="form-group">
					<label>渠道描述:</label>
					<input type="text" class="form-control forminfo inline" ng-model="channelitems.Description" placeholder="">
				</div>

			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
		<button class="btn btn-primary" ng-if="isadd" type="button" ng-click="ok()">提交</button>
		<button class="btn btn-light" ng-if="!isadd" type="button" ng-click="ok()">提交</button>
	</div>
</div>






<!--定点添加标-->
<div ng-if="addfixedpoint||editfixedpoint">
	<div class="modal-header">
		<h3 class="modal-title" ng-if="addfixedpoint">添加产品</h3>
		<h3 class="modal-title" ng-if="editfixedpoint">修改产品</h3>
	</div>
	<div class="modal-body">
		<div class="panel-body">
			<form role="form">
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本信息</div>
					<div class="form-group">
						<label>产品标题:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allData.ProductName" name="ProductName" placeholder="">
					</div>
					<div class="form-group">
						<label>募资金额:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allData.LoanPrice" name="LoanPrice" placeholder="">
					</div>
					<div class="form-group">
						<label>债权编号:</label>
						<input type="text" class="form-control forminfo inline" ng-model="allData.ContractNo" name="ContractNo" placeholder="">
					</div>
					<div class="form-group">
						<label class="block">年化利率:</label>
						<input type="number" class="form-control forminfo inline w-sm" ng-model="allData.AnnualRateOfYear" name="AnnualRateOfYear"
						 placeholder="">%
					</div>
					<div class="form-group">
						<label>还款方式:</label>
						<select class="form-control forminfo inline">
							<option value="4">到期还本付息</option>
							<option value="3">先息后本</option>
						</select>
					</div>
					<div class="form-group">
						<label>贷款周期:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allData.LoanPeriod" name="LoanPeriod" placeholder="">
					</div>
					<div class="form-group">
						<label>贷款周期类型:</label>
						<select class="form-control forminfo inline">
							<option value="2">天</option>
						</select>
					</div>

				</div>
				<div class="col-sm-6">
					<div class="panel-heading font-bold">基本规则</div>
					<div class="form-group">
						<label>显示加息:</label>
						<input type="number" class="form-control forminfo inline" ng-model="allData.ShowRate" name="ShowRate" placeholder="">
					</div>
					<div class="form-group">
						<label>业务类型:</label>
						<select class="form-control forminfo inline" ng-model="allData.BusinessTypeId" name="BusinessTypeId">
							<option value="1" selected="selected">债权转让(经营担保)</option>
							<option value="2">借款</option>
						</select>
					</div>
					<div class="panel-heading font-bold">借款人信息</div>
					<div class="form-group">
						<label class="block">借款人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-lg" ng-model="mobile.mobile" ng-pattern="/^1[34578]\d{9}$/"
						 maxlength="11" name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId(1)">检索</span>
					</div>
					<div class="form-group">
						<input type="text" class="form-control forminfo inline" ng-value="allData.AssignUserId" ng-model="allData.AssignUserId">
					</div>
					<div class="panel-heading font-bold">投资人信息</div>
					<div class="form-group">
						<label class="block">投资人手机号:</label>
						<input type="tel" ng-keypress="loginevent($event)" class="form-control inline w-lg" ng-model="mobile.toumobile" ng-pattern="/^1[34578]\d{9}$/"
						 maxlength="11" name="mobile" placeholder="">
						<span class="btn btn-info btn-addon" ng-click="getUserId(2)">检索</span>
					</div>
					<div class="form-group">
						<input type="text" class="form-control forminfo inline" ng-value="allData.AssignInvestUserId" ng-model="allData.AssignInvestUserId">
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-sm btn-primary pull-right" ng-if="nocilck" ng-click="addProduct()">提交</button>
		<button class="btn btn-sm btn-light pull-right" ng-if="!nocilck &&!editfixedpoint">提交</button>
		<button class="btn btn-sm btn-primary pull-right" ng-if="editfixedpoint" ng-click="editProduct()">提交</button>
	</div>
</div>
<!--授权状态修改-->
<div ng-if="editstatusid">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">修改授权状态</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li>
				当前状态为：{{editstatus?'授权成功':'授权失败'}}
			</li>
			<li>
				是否修改状态为：{{!editstatus?'授权成功':'授权失败'}}
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<input type="text" id="hideInput" style="opacity:0;width:10px" ng-keypress="loginevent($event)">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--对账修改处理结果-->
<div ng-if="modifyid">
	<div class="modal-header">
		<h3 class="modal-title" id="modal-title">修改处理结果</h3>
	</div>
	<div class="modal-body" id="modal-body">
		<ul>
			<li>
				当前处理结果为：{{modifystatus?'平账':'待处理'}}
			</li>
			<li>
				是否修改结果为：{{!modifystatus?'平账':'待处理'}}
			</li>
		</ul>
	</div>
	<div class="modal-footer">
		<input type="text" id="hideInput" style="opacity:0;width:10px" ng-keypress="loginevent($event)">
		<button class="btn btn-primary" type="button" ng-click="ok()">确定</button>
		<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
	</div>
</div>
<!--实时数据投资额top10-->
<div ng-if="toplist==1">
	<div class="panel-body b-b b-light text-right">
		<span style="font-size:20px;cursor:pointer" class="icon-close" ng-click="cancel()"></span>
	</div>
	<div class="table-responsive">
		<table id="tab" class="table table-striped m-b-none">
			<thead>
				<tr>
					<th>排名</th>
					<th>姓名</th>
					<th>电话</th>
					<th>投资总金额</th>
					<th>新手标投资金额</th>
					<th>天天赚投资金额</th>
					<th>月月赚投资金额</th>
				</tr>
			</thead>
			<tbody ng-if="!GetOperationTender.length">
				<tr>
					<td colspan="7">当前无任何数据</td>
				</tr>
			</tbody>
			<tbody ng-if="GetOperationTender.length">
				<tr ng-repeat="obj in GetOperationTender">
					<td ng-bind="$index+1"></td>
					<td ng-bind="obj.FullName"></td>
					<td ng-bind="obj.Mobile"></td>
					<td ng-bind="obj.InvestorPrice"></td>
					<td ng-bind="obj.TiroProPrice"></td>
					<td ng-bind="obj.FlexiblePrice"></td>
					<td ng-bind="obj.ProductPrice"></td>
				</tr>
			</tbody>
		</table>
	</div>
</div>
<!--实时数据提现额top10-->
<div ng-if="toplist==2">
	<div class="panel-body b-b b-light text-right">
		<span style="font-size:20px;cursor:pointer" class="icon-close" ng-click="cancel()"></span>
	</div>
	<div class="table-responsive">
		<table id="tab" class="table table-striped m-b-none">
			<thead>
				<tr>
					<th>排名</th>
					<th>姓名</th>
					<th>电话</th>
					<th>提现总金额</th>
					<th>活期提现总金额</th>
					<th>快速提现总金额</th>
					<th>普通提现总金额</th>
					<th>系统可用余额</th>
					<th>新手标在保</th>
					<th>活期在保</th>
					<th>定期在保</th>
				</tr>
			</thead>
			<tbody ng-if="!GetOperationWithdraw.length">
				<tr>
					<td colspan="11">当前无任何数据</td>
				</tr>
			</tbody>
			<tbody ng-if="GetOperationWithdraw.length">
				<tr ng-repeat="obj in GetOperationWithdraw">
					<td ng-bind="$index+1"></td>
					<td ng-bind="obj.FullName"></td>
					<td ng-bind="obj.Mobile"></td>
					<td ng-bind="obj.WithdrawTotalPrice"></td>
					<td ng-bind="obj.FlexibleWithdrawPrice"></td>
					<td ng-bind="obj.FastWithdrawPrice"></td>
					<td ng-bind="obj.WithdrawPrice"></td>
					<td ng-bind="obj.UsablePrice"></td>
					<td ng-bind="obj.TiroProHoldPrice"></td>
					<td ng-bind="obj.FlexibleHoldPrice"></td>
					<td ng-bind="obj.ProductHoldPrice"></td>
				</tr>
			</tbody>
		</table>
	</div>
</div>

<!--经营日报投资额top10-->
<div ng-if="sstoplist==1">
	<div class="panel-body b-b b-light text-right">
		<span style="font-size:20px;cursor:pointer" class="icon-close" ng-click="cancel()"></span>
	</div>
	<div class="table-responsive">
		<table id="tab" class="table table-striped m-b-none">
			<thead>
				<tr>
					<th>排名</th>
					<th>姓名</th>
					<th>电话</th>
					<th>投资总金额</th>
					<th>新手标投资金额</th>
					<th>天天赚投资金额</th>
					<th>月月赚投资金额</th>
				</tr>
			</thead>
			<tbody ng-if="!GetOperationTender.length">
				<tr>
					<td colspan="7">当前无任何数据</td>
				</tr>
			</tbody>
			<tbody ng-if="GetOperationTender.length">
				<tr ng-repeat="obj in GetOperationTender">
					<td ng-bind="$index+1"></td>
					<td ng-bind="obj.FullName"></td>
					<td ng-bind="obj.Mobile"></td>
					<td ng-bind="obj.InvestorPrice"></td>
					<td ng-bind="obj.TiroProPrice"></td>
					<td ng-bind="obj.FlexiblePrice"></td>
					<td ng-bind="obj.ProductPrice"></td>
				</tr>
			</tbody>
		</table>
	</div>
</div>

<!--经营日报提现额top10-->
<div ng-if="sstoplist==2">
	<div class="panel-body b-b b-light text-right">
		<span style="font-size:20px;cursor:pointer" class="icon-close" ng-click="cancel()"></span>
	</div>
	<div class="table-responsive">
		<table id="tab" class="table table-striped m-b-none">
			<thead>
				<tr>
					<th>排名</th>
					<th>姓名</th>
					<th>电话</th>
					<th>提现总金额</th>
					<th>活期提现总金额</th>
					<th>快速提现总金额</th>
					<th>普通提现总金额</th>
					<th>系统可用余额</th>
					<th>新手标在保</th>
					<th>活期在保</th>
					<th>定期在保</th>
				</tr>
			</thead>
			<tbody ng-if="!GetOperationWithdraw.length">
				<tr>
					<td colspan="11">当前无任何数据</td>
				</tr>
			</tbody>
			<tbody ng-if="GetOperationWithdraw.length">
				<tr ng-repeat="obj in GetOperationWithdraw">
					<td ng-bind="$index+1"></td>
					<td ng-bind="obj.FullName"></td>
					<td ng-bind="obj.Mobile"></td>
					<td ng-bind="obj.WithdrawTotalPrice"></td>
					<td ng-bind="obj.FlexibleWithdrawPrice"></td>
					<td ng-bind="obj.FastWithdrawPrice"></td>
					<td ng-bind="obj.WithdrawPrice"></td>
					<td ng-bind="obj.UsablePrice"></td>
					<td ng-bind="obj.TiroProHoldPrice"></td>
					<td ng-bind="obj.FlexibleHoldPrice"></td>
					<td ng-bind="obj.ProductHoldPrice"></td>
				</tr>
			</tbody>
		</table>
	</div>
</div>